﻿//AS 2.0 class 
class Test extends MovieClip{ 
        public function Test(MC:MovieClip) { 
		trace(this);
                //init(); 
				//var container:MovieClip = MC.createEmptyMovieClip("container", MC.getNextHighestDepth());
				//container._x =0;
				//container._y =0;
				//this.loadMovie("ActionTemplate.swf");
				//this._x=0;
				//this._y =0;
				//var label:TextField = container.createTextField("label", 10, 10, 10, 150, 20);
				//label.text = "Hello World";
        } 
        private function init()        { 
                var This:Object = this; 
                _root.onMouseDown = function()        { 						
                        _global.setTimeout(This.showText, 200, "Super-Tomato"); 
                }; 
        } 
        private function showText(param:String) { 
                trace(param); 
        } 
}